package com.mp.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author jack
 * @data 2019-08-16 15:59
 */
@Data
public class AmountRecord {


    /**主键id*/
    private Integer id;


    /**用户id*/
    private Integer userId;


    /**金额*/
    private BigDecimal amount;


    /**状态 1充值，2扣费 3.。。*/
    private Integer status;

    /**创建时间*/
    private LocalDateTime createTime;

    /**变动前的金额*/
    private BigDecimal amountBefore;

    /**变动后的金额*/
    private BigDecimal amountNow;

}
